package mvc;

public class GbPost {
	  
	private String username = null;
    private String text = null;
	private String date = null;
	private String id = null;
       
public GbPost(String username, String text, String date, String id) { 
    this.text = text;
	this.username = username;
	this.date = date;
	this.id = id;
}
       
public String getUsername() { return this.username; }   

public String getDate() { return this.date; }
  
public String getText() { return this.text.replaceAll("\n","<br>"); }

public String getId() { return this.id; }
}